<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <script type="text/javascript" src="js/tools/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="js/jquery.bgpos.js"></script>
    <script type="text/javascript" src=" http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js" ></script>
    <script type="text/javascript">
   
$(function(){
	$('#a a')
		.css( {backgroundPosition: "-20px 42px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(-20px 111px)"}, {duration:700})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(20px 42px)"}, {duration:200, complete:function(){
				$(this).css({backgroundPosition: "-20px 42px"})
			}})
		})


});
var city='<s:property value="#application.website.city" escape="false" />';
if(city.indexOf(remote_ip_info.province)>-1||city.indexOf(remote_ip_info.city)>-1)
{
   window.location.href="info.jsp";
}
</script>
  </head>
  <body>
     <div class="sarcasm">
     	<img src="images/index_06.gif" width="10" height="12" />
     	<a href="javascript:void(0)" onclick="window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage(window.location.href);">设为首页</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     	<img src="images/index_08.gif" width="10" height="12" />
     	<a href="javascript:void(0);" onclick="window.external.AddFavorite(location.href,document.title)">加入收藏</a>
     </div>
     <div class="flash"><img src="images/top.jpg" /></div>
     <div class="nav">
         <ul id="a">
		<li><a href="/linkcard">资合信首页</a></li>
		<s:iterator value="#application.columns">
              <s:if test="%{isNav==1}">
                <s:if test="%{url=='bbs'}">
                    
                    <li><a href="http://www.jqcom.cn/forum-101-1.html" target="_blank"><s:property value="name"/></a></li>
                </s:if>
                 <s:else>
                <li> <a href="<s:property value="url"/>.action?columnId=<s:property value="id"/>"><s:property value="name"/></a></li>
                 </s:else>
              </s:if>
         </s:iterator>
	   </ul>
     </div>
  </body>
</html>
